﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="InformationComment.ascx.cs" Inherits="Admin_Controls_Mod_Information_InformationComment" %>
<%@ Register src="../General/ToolbarBox.ascx" tagname="ToolbarBox" tagprefix="uc1" %>
<uc1:ToolbarBox ID="ToolbarBox1" runat="server" />
<b>Page</b>
<asp:DropDownList ID="ddlPages" runat="server">
</asp:DropDownList>
  <asp:Repeater   id="rptItems" runat="server" >  
        <HeaderTemplate>
    <table border="0" width="100%" class="adminlist">
    
                <thead>
                    <tr>
                        <th width="5%">
                           #ID
                        </th>
                        <th width="8%">
                            Name
                        </th>
                         <th width="10%">
                            Email
                        </th>
                         <th width="80%">
                            Content
                        </th>
                        <th width="5%">
                            Action
                        </th>
                       
                    </tr>
                </thead>
   </HeaderTemplate>
        <ItemTemplate>
              <tr>
                    <td align="center" >
                 
                     <%#Eval("CommentId") %>
                      </td>
                     <td align="center" >
                      <%#Eval("Name") %>
                     </td>
                      <td align="center" >
                      <%#Eval("Email") %>
                     </td>
                      <td align="left" >
                      <%#Eval("Content") %>
                     </td>
                    <td align="center" width="8%">
            
                          <asp:ImageButton ID="bt_delete"  AlternateText="Delete" CommandName="deletepaper" OnClientClick="javascript:return confirm('Are you sure?');" CommandArgument='<%#Eval("CommentId") %>' ImageUrl="~/Admin/Theme/Images/pms-delete.gif" runat="server" />  
                    </td>
                 
                </tr>
                </ItemTemplate>
        <FooterTemplate>
                  </table>
                  
         </FooterTemplate>

</asp:Repeater>
            
        
        
        

            
        
<script type="text/javascript">

    $(function() {
    $("table.adminlist tr:nth-child(even)").addClass("row1");
    $("table.adminlist tr:nth-child(odd)").addClass("row0");
    });

</script>
        